package com.oa.pm.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

@TableName("pm_user_questionnaire_survey_record")
@Data
public class UserQuestionnaireSurveyRecord extends Model<UserQuestionnaireSurveyRecord> {

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    private String userId;

    private String questionnaireSurveyId;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
